package com.scaffold.myproject.web.controller;

import com.scaffold.myproject.entity.demo.UserEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.tomcat.util.json.JSONParser;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lx
 * @date 2025/6/5
 * @Description
 */

@Slf4j
@RestController
@Api(tags = "示例")
public class DemoController {

    @ApiOperation("示例接口")
    @GetMapping("/demo")
    public String demo() {
        log.error("Hello demo");
        return "Hello from /demo";
    }
}
